package com.smart.village.big.screen.service;

import com.alibaba.fastjson.JSONObject;
import com.smart.village.big.screen.domain.News;
import com.smart.village.big.screen.domain.NewsCategory;
import com.smart.village.big.screen.domain.NewsTags;
import com.smart.village.big.screen.domain.NewsVo;

import java.util.List;

public interface NewsService {
    News selectByPrimaryKey(String id);

    List<JSONObject> getWorkDynamicList(String newsTagSerialNumber, int pageNum, int pageSize,String search,int environment,String NewsTerminal);

    List<JSONObject> getList(String newsCategorySerialNumber,String partyOrganizationActivitySerialNumber, int pageNum, int pageSize,String search,int environment,String NewsTerminal);

    List<NewsVo> getWorkDynamicBannerList(int cnt,int environment,String NewsTerminal);

    JSONObject getWorkResults(int environment,String NewsTerminal);

    JSONObject getInformationPublishStatics(String newsCategorySerialNumber,int environment,String NewsTerminal);

    JSONObject getMicroTwoContactTwoReportNewsList(String formatDate, String partyOrganizationSerialNumber, String partyOrganizationType, int pageNum, int pageSize,String search,int environment,String NewsTerminal);

    List<NewsTags> getNewsTagsList();

    List<NewsCategory> getNewsCategoryList(String NewsTerminal);

    List<JSONObject> getNoticePublish(String partyOrganizationSerialNumber, int pageNum, int pageSize,int environment,String NewsTerminal);

    JSONObject searchContentList(int environment,String NewsTerminal);

    JSONObject getStudyAllDiscuss(String formatDate, String partyOrganizationSerialNumber, String partyOrganizationType, int pageNum, int pageSize, String search,int environment,String NewsTerminal);

    JSONObject getDiscussDetailComments(String commentObjectSerialNumber, String commentType,int pageNum, int pageSize);

    JSONObject getStudyMyDiscuss(String userId,String commentType, int pageNum, int pageSize);

    JSONObject getAuditList(String search, String partyOrganizationSerialNumber, String auditStatus, List<String> activityTypeList, String partyOrganizationType, int pageNum, int pageSize,int environment,String NewsTerminal);

    List<JSONObject> getMicroManagerPartyNewsList(String newsCategorySerialNumber, String phone, int pageNum, int pageSize, String search,int environment,String NewsTerminal);

    JSONObject getAllListSearch(int pageNum, int pageSize, String search,int environment,String NewsTerminal);

    JSONObject getDetailSearch(String id, String searchType);

    JSONObject getWorkTeamLogNewsList(String workTeamSerialNumber, String phone, String formatDate, String status,int pageNum, int pageSize,int environment,String NewsTerminal);

    List<JSONObject> getCarouselConfig();

    List<JSONObject> getCarouselConfigBigScreen();

    JSONObject getLeaveWord(String userId, String commentReplyStatus, int pageNum, int pageSize);

    JSONObject getLeaveWordDetail(String messageSerialNumber);

    List<NewsCategory> getPartyNewsCategoryList();

    List<JSONObject> getNewsTagsChengGuoList();
}
